package com.best.oasis.settlement.dao.security;

import java.util.List;

import com.best.oasis.settlement.common.entity.security.RoleGroup;
import com.best.oasis.settlement.common.so.security.RoleGroupSO;
import com.best.oasis.settlement.dao.base.BaseDao;
import com.best.oasis.settlement.util.page.PageList;

public interface RoleGroupDao extends BaseDao<RoleGroup, Long>  {
    /**
     * 根据so进行搜索T的对象，返回可以翻页的对象列表
     * @param so
     * @return
     */
    public abstract PageList<RoleGroup> getPageList(RoleGroupSO so);
    
	public List<RoleGroup> getAllByName(RoleGroupSO so);
	
	public List<RoleGroup> getRoleGroupsByUserid(Long userID); 
}
